#ifndef BOOK_H
#define BOOK_H

#include <string>

class Book {
public:
    Book(const std::string& title, const std::string& author, double price, const std::string& publisher, int id);
    Book();
    std::string getTitle() const;
    std::string getAuthor() const;
    std::string getPublisher() const;
    double getPrice() const;
    int getId() const;
    bool isBorrowed() const;
    void borrow();
    void returnBook();

private:
    std::string title;
    std::string author;
    std::string publisher;
    double price;
    int id;
    bool borrowed;
};

#endif // BOOK_H